------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  /Users/dr967231/Dropbox/laptop My Documents/data/data14/SDOexp/SDOrealismSubmission.log
  log type:  text
 opened on:  10 Feb 2019, 10:51:10

. set more off

. 
. * File: SDOrealismSubmission.do
. * Date: 7 February 201
. * Run: final tables 
. * David Rousseau, University at Albany (drousseau@albany.edu)
. * Paper:�Social Dominance Orientation and Realism in the Context of International Politics: Beliefs 
> and Foreign Policy Opinions.�
. 
. * program: Stata 14.0 on a mac
. *
. set matsize 400

. *
. use SDOrealismSubmissionData.dta

. *************************************************
. * Tables for final version
. * Table 1: Key assumptions of realisma and liberalism: no analysis
. * Table 2: Realist-Idealist survey questions: no analysis 
. * Table 3: SDO survey questions: no analysis 
. * Table 4: SDO International Version: no analysis
. * Table 5: Policy questions: no analysis 
. 
. * Table 6 summary statistics
. summarize ideareal SDO p1D p2Ddiss p3D p4D p5D gender over35 conservative collegegrad richer

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
    ideareal |        218   -2.536697    6.667276        -20         19
         SDO |        219   -21.15982    22.13609        -48         38
         p1D |        207    .2801932    .4501822          0          1
     p2Ddiss |        197    .1928934    .3955753          0          1
         p3D |        212          .5    .5011834          0          1
-------------+---------------------------------------------------------
         p4D |        212    .4198113     .494696          0          1
         p5D |        215    .3209302    .4679235          0          1
      gender |        218    1.440367    .4975737          1          2
      over35 |        218    .6513761    .4776314          0          1
conservative |        218    .2614679    .4404456          0          1
-------------+---------------------------------------------------------
 collegegrad |        218          .5    .5011507          0          1
      richer |        218    .2614679    .4404456          0          1

. summarize SDO if SDOversion==1

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
         SDO |        114   -26.55263    19.75204        -48         19

. summarize SDO if SDOversion==2

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
         SDO |        105   -15.30476     23.1675        -45         38

. 
. * Figure 1
. twoway scatter ideareal SDO if SDOversion==1, ylabel(-20(10)20) xlabel(-50(25)50)

. twoway scatter ideareal SDO if SDOversion==2, ylabel(-20(10)20) xlabel(-50(25)50)

. 
. * Table 7
. ttest v1, by(SDOversion) unequal

Two-sample t test with unequal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. Err.   Std. Dev.   [95% Conf. Interval]
---------+--------------------------------------------------------------------
       1 |     114    2.122807    .1475044    1.574916    1.830574     2.41504
       2 |     105         3.2      .19816    2.030536    2.807041    3.592959
---------+--------------------------------------------------------------------
combined |     219    2.639269    .1272037    1.882442    2.388563    2.889976
---------+--------------------------------------------------------------------
    diff |           -1.077193    .2470323               -1.564378    -.590008
------------------------------------------------------------------------------
    diff = mean(1) - mean(2)                                      t =  -4.3605
Ho: diff = 0                     Satterthwaite's degrees of freedom =  195.842

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0000         Pr(|T| > |t|) = 0.0000          Pr(T > t) = 1.0000

. ttest v2, by(SDOversion) unequal

Two-sample t test with unequal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. Err.   Std. Dev.   [95% Conf. Interval]
---------+--------------------------------------------------------------------
       1 |     114    2.429825     .162923    1.739542    2.107045    2.752604
       2 |     105    3.342857    .2126187    2.178693    2.921226    3.764488
---------+--------------------------------------------------------------------
combined |     219     2.86758    .1358554    2.010477    2.599822    3.135338
---------+--------------------------------------------------------------------
    diff |           -.9130326     .267863               -1.441249   -.3848164
------------------------------------------------------------------------------
    diff = mean(1) - mean(2)                                      t =  -3.4086
Ho: diff = 0                     Satterthwaite's degrees of freedom =   198.88

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0004         Pr(|T| > |t|) = 0.0008          Pr(T > t) = 0.9996

. ttest v3, by(SDOversion) unequal

Two-sample t test with unequal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. Err.   Std. Dev.   [95% Conf. Interval]
---------+--------------------------------------------------------------------
       1 |     114    2.596491    .1693478    1.808139    2.260983       2.932
       2 |     105    3.466667    .2061627    2.112539    3.057838    3.875495
---------+--------------------------------------------------------------------
combined |     219    3.013699    .1353766     2.00339    2.746884    3.280513
---------+--------------------------------------------------------------------
    diff |           -.8701754     .266799               -1.396189   -.3441621
------------------------------------------------------------------------------
    diff = mean(1) - mean(2)                                      t =  -3.2615
Ho: diff = 0                     Satterthwaite's degrees of freedom =  205.562

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0006         Pr(|T| > |t|) = 0.0013          Pr(T > t) = 0.9994

. ttest v4, by(SDOversion) unequal

Two-sample t test with unequal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. Err.   Std. Dev.   [95% Conf. Interval]
---------+--------------------------------------------------------------------
       1 |     114    2.315789    .1626113    1.736214    1.993627    2.637952
       2 |     105    3.228571    .2031155    2.081314    2.825786    3.631357
---------+--------------------------------------------------------------------
combined |     219    2.753425    .1323825    1.959083    2.492511    3.014338
---------+--------------------------------------------------------------------
    diff |            -.912782     .260189               -1.425798   -.3997655
------------------------------------------------------------------------------
    diff = mean(1) - mean(2)                                      t =  -3.5081
Ho: diff = 0                     Satterthwaite's degrees of freedom =  203.209

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0003         Pr(|T| > |t|) = 0.0006          Pr(T > t) = 0.9997

. ttest v5, by(SDOversion) unequal

Two-sample t test with unequal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. Err.   Std. Dev.   [95% Conf. Interval]
---------+--------------------------------------------------------------------
       1 |     114    6.026316    .1384482    1.478223    5.752025    6.300607
       2 |     105    5.419048    .1634008     1.67436    5.095018    5.743077
---------+--------------------------------------------------------------------
combined |     219     5.73516    .1081721    1.600802    5.521963    5.948357
---------+--------------------------------------------------------------------
    diff |            .6072682    .2141675                 .185053    1.029483
------------------------------------------------------------------------------
    diff = mean(1) - mean(2)                                      t =   2.8355
Ho: diff = 0                     Satterthwaite's degrees of freedom =  208.178

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9975         Pr(|T| > |t|) = 0.0050          Pr(T > t) = 0.0025

. ttest v6, by(SDOversion) unequal

Two-sample t test with unequal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. Err.   Std. Dev.   [95% Conf. Interval]
---------+--------------------------------------------------------------------
       1 |     114    5.938596    .1491502    1.592488    5.643103     6.23409
       2 |     105    6.742857    .1679594    1.721072    6.409787    7.075927
---------+--------------------------------------------------------------------
combined |     219    6.324201    .1148719    1.699948    6.097799    6.550603
---------+--------------------------------------------------------------------
    diff |           -.8042607    .2246245               -1.247049   -.3614722
------------------------------------------------------------------------------
    diff = mean(1) - mean(2)                                      t =  -3.5805
Ho: diff = 0                     Satterthwaite's degrees of freedom =  211.595

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0002         Pr(|T| > |t|) = 0.0004          Pr(T > t) = 0.9998

. ttest v7, by(SDOversion) unequal

Two-sample t test with unequal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. Err.   Std. Dev.   [95% Conf. Interval]
---------+--------------------------------------------------------------------
       1 |     114    5.842105    .1724635    1.841406    5.500424    6.183787
       2 |     105    5.638095    .1613382    1.653224    5.318156    5.958035
---------+--------------------------------------------------------------------
combined |     219    5.744292    .1184359    1.752692    5.510866    5.977718
---------+--------------------------------------------------------------------
    diff |              .20401    .2361645               -.2614615    .6694816
------------------------------------------------------------------------------
    diff = mean(1) - mean(2)                                      t =   0.8638
Ho: diff = 0                     Satterthwaite's degrees of freedom =  216.863

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.8057         Pr(|T| > |t|) = 0.3886          Pr(T > t) = 0.1943

. ttest v8, by(SDOversion) unequal

Two-sample t test with unequal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. Err.   Std. Dev.   [95% Conf. Interval]
---------+--------------------------------------------------------------------
       1 |     114    5.640351    .1648922    1.760567     5.31367    5.967032
       2 |     105    5.409524    .1661321    1.702347    5.080078     5.73897
---------+--------------------------------------------------------------------
combined |     219     5.52968     .117091    1.732788    5.298905    5.760456
---------+--------------------------------------------------------------------
    diff |            .2308271    .2340711               -.2305231    .6921773
------------------------------------------------------------------------------
    diff = mean(1) - mean(2)                                      t =   0.9861
Ho: diff = 0                     Satterthwaite's degrees of freedom =   216.48

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.8374         Pr(|T| > |t|) = 0.3252          Pr(T > t) = 0.1626

. ttest v9, by(SDOversion) unequal

Two-sample t test with unequal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. Err.   Std. Dev.   [95% Conf. Interval]
---------+--------------------------------------------------------------------
       1 |     114    2.526316     .173644     1.85401    2.182296    2.870336
       2 |     105    3.142857    .2045403    2.095914    2.737246    3.548468
---------+--------------------------------------------------------------------
combined |     219    2.821918     .134686     1.99317    2.556464    3.087371
---------+--------------------------------------------------------------------
    diff |           -.6165414    .2683076               -1.145487   -.0875954
------------------------------------------------------------------------------
    diff = mean(1) - mean(2)                                      t =  -2.2979
Ho: diff = 0                     Satterthwaite's degrees of freedom =  208.333

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0113         Pr(|T| > |t|) = 0.0226          Pr(T > t) = 0.9887

. ttest v10, by(SDOversion) unequal

Two-sample t test with unequal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. Err.   Std. Dev.   [95% Conf. Interval]
---------+--------------------------------------------------------------------
       1 |     114    2.877193    .1938907    2.070186    2.493061    3.261325
       2 |     105    3.780952    .2227784    2.282799    3.339174     4.22273
---------+--------------------------------------------------------------------
combined |     219    3.310502    .1497688    2.216376    3.015322    3.605682
---------+--------------------------------------------------------------------
    diff |           -.9037594    .2953368               -1.485961   -.3215582
------------------------------------------------------------------------------
    diff = mean(1) - mean(2)                                      t =  -3.0601
Ho: diff = 0                     Satterthwaite's degrees of freedom =  210.217

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0013         Pr(|T| > |t|) = 0.0025          Pr(T > t) = 0.9987

. ttest v11, by(SDOversion) unequal

Two-sample t test with unequal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. Err.   Std. Dev.   [95% Conf. Interval]
---------+--------------------------------------------------------------------
       1 |     114    2.719298    .1904035    2.032953    2.342075    3.096522
       2 |     105    3.009524    .1877646    1.924014     2.63718    3.381868
---------+--------------------------------------------------------------------
combined |     219    2.858447    .1339497    1.982275    2.594445     3.12245
---------+--------------------------------------------------------------------
    diff |           -.2902256    .2674117               -.8172846    .2368335
------------------------------------------------------------------------------
    diff = mean(1) - mean(2)                                      t =  -1.0853
Ho: diff = 0                     Satterthwaite's degrees of freedom =  216.836

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.1395         Pr(|T| > |t|) = 0.2790          Pr(T > t) = 0.8605

. ttest v12, by(SDOversion) unequal

Two-sample t test with unequal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. Err.   Std. Dev.   [95% Conf. Interval]
---------+--------------------------------------------------------------------
       1 |     114     3.04386    .2048891    2.187617    2.637937    3.449782
       2 |     105    3.533333    .2211635    2.266252    3.094758    3.971909
---------+--------------------------------------------------------------------
combined |     219    3.278539    .1509614    2.234025    2.981008     3.57607
---------+--------------------------------------------------------------------
    diff |           -.4894737    .3014844               -1.083733    .1047853
------------------------------------------------------------------------------
    diff = mean(1) - mean(2)                                      t =  -1.6235
Ho: diff = 0                     Satterthwaite's degrees of freedom =  214.027

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.0530         Pr(|T| > |t|) = 0.1059          Pr(T > t) = 0.9470

. ttest v13, by(SDOversion) unequal

Two-sample t test with unequal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. Err.   Std. Dev.   [95% Conf. Interval]
---------+--------------------------------------------------------------------
       1 |     114    6.166667    .1276279    1.362693    5.913813    6.419521
       2 |     105    5.438095    .1815298    1.860127    5.078115    5.798076
---------+--------------------------------------------------------------------
combined |     219    5.817352     .111983    1.657197    5.596644     6.03806
---------+--------------------------------------------------------------------
    diff |            .7285714    .2219053                 .290851    1.166292
------------------------------------------------------------------------------
    diff = mean(1) - mean(2)                                      t =   3.2833
Ho: diff = 0                     Satterthwaite's degrees of freedom =  189.592

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9994         Pr(|T| > |t|) = 0.0012          Pr(T > t) = 0.0006

. ttest v14, by(SDOversion) unequal

Two-sample t test with unequal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. Err.   Std. Dev.   [95% Conf. Interval]
---------+--------------------------------------------------------------------
       1 |     114    5.850877    .1416476    1.512382    5.570248    6.131507
       2 |     105    5.085714    .1890376    1.937059    4.710846    5.460583
---------+--------------------------------------------------------------------
combined |     219    5.484018    .1194059    1.767046    5.248681    5.719356
---------+--------------------------------------------------------------------
    diff |            .7651629    .2362187                .2993144    1.231011
------------------------------------------------------------------------------
    diff = mean(1) - mean(2)                                      t =   3.2392
Ho: diff = 0                     Satterthwaite's degrees of freedom =  196.545

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9993         Pr(|T| > |t|) = 0.0014          Pr(T > t) = 0.0007

. ttest v15, by(SDOversion) unequal

Two-sample t test with unequal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. Err.   Std. Dev.   [95% Conf. Interval]
---------+--------------------------------------------------------------------
       1 |     114    5.973684    .1315479    1.404547    5.713064    6.234304
       2 |     105    5.171429    .1977238    2.026066    4.779335    5.563522
---------+--------------------------------------------------------------------
combined |     219    5.589041    .1197841    1.772643    5.352958    5.825124
---------+--------------------------------------------------------------------
    diff |            .8022556    .2374859                .3336995    1.270812
------------------------------------------------------------------------------
    diff = mean(1) - mean(2)                                      t =   3.3781
Ho: diff = 0                     Satterthwaite's degrees of freedom =  183.378

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9996         Pr(|T| > |t|) = 0.0009          Pr(T > t) = 0.0004

. ttest v16, by(SDOversion) unequal

Two-sample t test with unequal variances
------------------------------------------------------------------------------
   Group |     Obs        Mean    Std. Err.   Std. Dev.   [95% Conf. Interval]
---------+--------------------------------------------------------------------
       1 |     114    5.675439    .1755492    1.874352    5.327644    6.023233
       2 |     105    5.161905    .1938259    1.986124    4.777541    5.546269
---------+--------------------------------------------------------------------
combined |     219    5.429224    .1311879    1.941404    5.170665    5.687783
---------+--------------------------------------------------------------------
    diff |            .5135338    .2615071               -.0019422     1.02901
------------------------------------------------------------------------------
    diff = mean(1) - mean(2)                                      t =   1.9637
Ho: diff = 0                     Satterthwaite's degrees of freedom =   212.81

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = 0.9746         Pr(|T| > |t|) = 0.0509          Pr(T > t) = 0.0254

. 
. * Table 8
. regress SDO gender over35 conservative collegegrad richer, robust 

Linear regression                               Number of obs     =        218
                                                F(5, 212)         =      16.54
                                                Prob > F          =     0.0000
                                                R-squared         =     0.2319
                                                Root MSE          =     19.669

------------------------------------------------------------------------------
             |               Robust
         SDO |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
      gender |  -9.649345   2.634158    -3.66   0.000    -14.84184   -4.456847
      over35 |   5.075872    2.89878     1.75   0.081    -.6382519       10.79
conservative |   20.45599    3.05482     6.70   0.000     14.43428     26.4777
 collegegrad |  -.6674647     2.7022    -0.25   0.805    -5.994087    4.659158
      richer |    3.54851   2.938831     1.21   0.229    -2.244563    9.341583
       _cons |  -16.47882   4.919729    -3.35   0.001    -26.17667   -6.780965
------------------------------------------------------------------------------

. outreg2 using Table8, replace label alpha(0.001, 0.01, 0.05) excel bdec(3) sdec(3) e(F r2 rmse)
Table8.xml
dir : seeout

. regress SDO gender over35 conservative collegegrad richer if SDOversion==1, robust 

Linear regression                               Number of obs     =        113
                                                F(5, 107)         =      12.86
                                                Prob > F          =     0.0000
                                                R-squared         =     0.3119
                                                Root MSE          =     16.838

------------------------------------------------------------------------------
             |               Robust
         SDO |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
      gender |  -13.27782   3.214418    -4.13   0.000    -19.65003   -6.905608
      over35 |   7.609392   3.329194     2.29   0.024     1.009654    14.20913
conservative |   20.70779    3.74672     5.53   0.000     13.28036    28.13523
 collegegrad |   5.455646   3.247589     1.68   0.096    -.9823199    11.89361
      richer |   .9590491   3.268091     0.29   0.770     -5.51956    7.437658
       _cons |  -18.88915   5.705233    -3.31   0.001    -30.19911   -7.579188
------------------------------------------------------------------------------

. outreg2 using Table8, append label alpha(0.001, 0.01, 0.05) excel bdec(3) sdec(3) e(F r2 rmse)
Table8.xml
dir : seeout

. regress SDO gender over35 conservative collegegrad richer if SDOversion==2, robust 

Linear regression                               Number of obs     =        105
                                                F(5, 99)          =       8.02
                                                Prob > F          =     0.0000
                                                R-squared         =     0.2029
                                                Root MSE          =       21.2

------------------------------------------------------------------------------
             |               Robust
         SDO |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
      gender |  -8.137305     4.1678    -1.95   0.054    -16.40712    .1325137
      over35 |   .4997837    4.35314     0.11   0.909     -8.13779    9.137358
conservative |   18.55134   4.246589     4.37   0.000     10.12518    26.97749
 collegegrad |  -8.066297   4.316225    -1.87   0.065    -16.63062    .4980307
      richer |   6.104941   4.175588     1.46   0.147    -2.180332    14.39021
       _cons |   -7.56243   8.181957    -0.92   0.358    -23.79721    8.672348
------------------------------------------------------------------------------

. outreg2 using Table8, append label alpha(0.001, 0.01, 0.05) excel bdec(3) sdec(3) e(F r2 rmse)
Table8.xml
dir : seeout

. 
. * Table 9
. probit p1D ideareal SDO gender over35 conservative collegegrad richer, robust

Iteration 0:   log pseudolikelihood =  -122.7791  
Iteration 1:   log pseudolikelihood = -100.46125  
Iteration 2:   log pseudolikelihood =   -100.223  
Iteration 3:   log pseudolikelihood = -100.22273  
Iteration 4:   log pseudolikelihood = -100.22273  

Probit regression                               Number of obs     =        207
                                                Wald chi2(7)      =      40.16
                                                Prob > chi2       =     0.0000
Log pseudolikelihood = -100.22273               Pseudo R2         =     0.1837

------------------------------------------------------------------------------
             |               Robust
         p1D |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
    ideareal |    .026291   .0190008     1.38   0.166    -.0109498    .0635318
         SDO |   .0138618    .006511     2.13   0.033     .0011004    .0266232
      gender |   .3081172   .2181999     1.41   0.158    -.1195467    .7357811
      over35 |   .2722344   .2275173     1.20   0.231    -.1736913    .7181602
conservative |   .4716447   .2441143     1.93   0.053    -.0068106    .9500999
 collegegrad |   .2861273   .2129994     1.34   0.179    -.1313437    .7035984
      richer |   .5669402   .2226798     2.55   0.011     .1304958    1.003385
       _cons |  -1.392633   .4144692    -3.36   0.001    -2.204978   -.5802886
------------------------------------------------------------------------------

. margins, dydx(*)

Average marginal effects                        Number of obs     =        207
Model VCE    : Robust

Expression   : Pr(p1D), predict()
dy/dx w.r.t. : ideareal SDO gender over35 conservative collegegrad richer

------------------------------------------------------------------------------
             |            Delta-method
             |      dy/dx   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
    ideareal |   .0071393   .0051694     1.38   0.167    -.0029925    .0172711
         SDO |   .0037642   .0016849     2.23   0.025     .0004619    .0070664
      gender |   .0836692   .0584527     1.43   0.152     -.030896    .1982343
      over35 |   .0739252   .0606129     1.22   0.223    -.0448739    .1927244
conservative |    .128075   .0652062     1.96   0.050     .0002732    .2558768
 collegegrad |   .0776978   .0571758     1.36   0.174    -.0343647    .1897603
      richer |   .1539525   .0577897     2.66   0.008     .0406869    .2672181
------------------------------------------------------------------------------

. outreg2 using Table9, replace label alpha(0.001, 0.01, 0.05) excel bdec(3) sdec(3) e(ll chi2 p r2_p)
Table9.xml
dir : seeout

. probit p2Ddiss ideareal SDO gender over35 conservative collegegrad richer, robust

Iteration 0:   log pseudolikelihood = -96.607092  
Iteration 1:   log pseudolikelihood = -83.897449  
Iteration 2:   log pseudolikelihood = -83.696985  
Iteration 3:   log pseudolikelihood =  -83.69693  
Iteration 4:   log pseudolikelihood =  -83.69693  

Probit regression                               Number of obs     =        197
                                                Wald chi2(7)      =      25.41
                                                Prob > chi2       =     0.0006
Log pseudolikelihood =  -83.69693               Pseudo R2         =     0.1336

------------------------------------------------------------------------------
             |               Robust
     p2Ddiss |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
    ideareal |   -.025091   .0232866    -1.08   0.281    -.0707319    .0205499
         SDO |    .017947   .0068292     2.63   0.009      .004562     .031332
      gender |   .3434541   .2215432     1.55   0.121    -.0907626    .7776708
      over35 |  -.4659209   .2281944    -2.04   0.041    -.9131737    -.018668
conservative |   .5420832   .2649269     2.05   0.041      .022836     1.06133
 collegegrad |   -.292382   .2267656    -1.29   0.197    -.7368343    .1520703
      richer |    .270679   .2377397     1.14   0.255    -.1952822    .7366402
       _cons |  -.9282312   .4055262    -2.29   0.022    -1.723048   -.1334145
------------------------------------------------------------------------------

. margins, dydx(*)

Average marginal effects                        Number of obs     =        197
Model VCE    : Robust

Expression   : Pr(p2Ddiss), predict()
dy/dx w.r.t. : ideareal SDO gender over35 conservative collegegrad richer

------------------------------------------------------------------------------
             |            Delta-method
             |      dy/dx   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
    ideareal |  -.0059206   .0054981    -1.08   0.282    -.0166967    .0048555
         SDO |   .0042349   .0016371     2.59   0.010     .0010262    .0074435
      gender |    .081043   .0525359     1.54   0.123    -.0219255    .1840115
      over35 |  -.1099408   .0523871    -2.10   0.036    -.2126177    -.007264
conservative |   .1279125   .0601244     2.13   0.033     .0100708    .2457541
 collegegrad |  -.0689918   .0524608    -1.32   0.188    -.1718132    .0338296
      richer |   .0638707   .0551072     1.16   0.246    -.0441375    .1718788
------------------------------------------------------------------------------

. outreg2 using Table9, append label alpha(0.001, 0.01, 0.05) excel bdec(3) sdec(3) e(ll chi2 p r2_p)
Table9.xml
dir : seeout

. probit p3D ideareal SDO gender over35 conservative collegegrad richer, robust

Iteration 0:   log pseudolikelihood =  -146.9472  
Iteration 1:   log pseudolikelihood = -99.866174  
Iteration 2:   log pseudolikelihood =  -99.56501  
Iteration 3:   log pseudolikelihood = -99.564274  
Iteration 4:   log pseudolikelihood = -99.564274  

Probit regression                               Number of obs     =        212
                                                Wald chi2(7)      =      71.24
                                                Prob > chi2       =     0.0000
Log pseudolikelihood = -99.564274               Pseudo R2         =     0.3224

------------------------------------------------------------------------------
             |               Robust
         p3D |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
    ideareal |  -.1114886   .0224698    -4.96   0.000    -.1555286   -.0674486
         SDO |   -.007392    .006876    -1.08   0.282    -.0208688    .0060848
      gender |  -.3850479   .2173417    -1.77   0.076    -.8110297     .040934
      over35 |  -.2408729   .2149476    -1.12   0.262    -.6621625    .1804166
conservative |  -.6780603   .2854627    -2.38   0.018    -1.237557   -.1185638
 collegegrad |   .6089406   .2107644     2.89   0.004     .1958501    1.022031
      richer |    .148218   .2575117     0.58   0.565    -.3564955    .6529316
       _cons |   .0862353   .3889796     0.22   0.825    -.6761507    .8486213
------------------------------------------------------------------------------

. margins, dydx(*)

Average marginal effects                        Number of obs     =        212
Model VCE    : Robust

Expression   : Pr(p3D), predict()
dy/dx w.r.t. : ideareal SDO gender over35 conservative collegegrad richer

------------------------------------------------------------------------------
             |            Delta-method
             |      dy/dx   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
    ideareal |  -.0293518   .0052415    -5.60   0.000    -.0396249   -.0190786
         SDO |  -.0019461   .0017843    -1.09   0.275    -.0054432     .001551
      gender |  -.1013721   .0559172    -1.81   0.070    -.2109679    .0082236
      over35 |   -.063415    .056288    -1.13   0.260    -.1737374    .0469075
conservative |  -.1785139    .072755    -2.45   0.014     -.321111   -.0359168
 collegegrad |   .1603167   .0522975     3.07   0.002     .0578154     .262818
      richer |   .0390216   .0676675     0.58   0.564    -.0936043    .1716475
------------------------------------------------------------------------------

. outreg2 using Table9, append label alpha(0.001, 0.01, 0.05) excel bdec(3) sdec(3) e(ll chi2 p r2_p)
Table9.xml
dir : seeout

. probit p4D ideareal SDO gender over35 conservative collegegrad richer, robust

Iteration 0:   log pseudolikelihood = -144.20898  
Iteration 1:   log pseudolikelihood =  -120.1645  
Iteration 2:   log pseudolikelihood = -119.96287  
Iteration 3:   log pseudolikelihood = -119.96266  
Iteration 4:   log pseudolikelihood = -119.96266  

Probit regression                               Number of obs     =        212
                                                Wald chi2(7)      =      42.76
                                                Prob > chi2       =     0.0000
Log pseudolikelihood = -119.96266               Pseudo R2         =     0.1681

------------------------------------------------------------------------------
             |               Robust
         p4D |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
    ideareal |  -.0635336   .0194282    -3.27   0.001    -.1016123    -.025455
         SDO |  -.0117946    .005975    -1.97   0.048    -.0235054   -.0000838
      gender |  -.3016885   .2012804    -1.50   0.134    -.6961908    .0928139
      over35 |  -.1120884   .2040397    -0.55   0.583    -.5119988     .287822
conservative |  -.1864901   .2623819    -0.71   0.477    -.7007492     .327769
 collegegrad |   .2864793   .1926954     1.49   0.137    -.0911967    .6641553
      richer |    .221517   .2325177     0.95   0.341    -.2342093    .6772432
       _cons |  -.3159039   .3664591    -0.86   0.389    -1.034151    .4023428
------------------------------------------------------------------------------

. margins, dydx(*)

Average marginal effects                        Number of obs     =        212
Model VCE    : Robust

Expression   : Pr(p4D), predict()
dy/dx w.r.t. : ideareal SDO gender over35 conservative collegegrad richer

------------------------------------------------------------------------------
             |            Delta-method
             |      dy/dx   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
    ideareal |  -.0203995   .0057737    -3.53   0.000    -.0317157   -.0090833
         SDO |   -.003787    .001868    -2.03   0.043    -.0074483   -.0001258
      gender |  -.0968669   .0636591    -1.52   0.128    -.2216364    .0279027
      over35 |  -.0359896   .0653682    -0.55   0.582     -.164109    .0921298
conservative |  -.0598787   .0841593    -0.71   0.477    -.2248279    .1050705
 collegegrad |   .0919835   .0611266     1.50   0.132    -.0278224    .2117893
      richer |   .0711252   .0739541     0.96   0.336    -.0738222    .2160726
------------------------------------------------------------------------------

. outreg2 using Table9, append label alpha(0.001, 0.01, 0.05) excel bdec(3) sdec(3) e(ll chi2 p r2_p)
Table9.xml
dir : seeout

. probit p5D ideareal SDO gender over35 conservative collegegrad richer, robust

Iteration 0:   log pseudolikelihood = -134.92726  
Iteration 1:   log pseudolikelihood = -91.516284  
Iteration 2:   log pseudolikelihood = -90.834736  
Iteration 3:   log pseudolikelihood = -90.834089  
Iteration 4:   log pseudolikelihood = -90.834089  

Probit regression                               Number of obs     =        215
                                                Wald chi2(7)      =      84.36
                                                Prob > chi2       =     0.0000
Log pseudolikelihood = -90.834089               Pseudo R2         =     0.3268

------------------------------------------------------------------------------
             |               Robust
         p5D |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
    ideareal |   .0938009   .0210714     4.45   0.000     .0525016    .1351002
         SDO |   .0049928   .0067091     0.74   0.457    -.0081567    .0181424
      gender |   .3359752   .2225821     1.51   0.131    -.1002777    .7722281
      over35 |  -.0352842   .2158934    -0.16   0.870    -.4584275    .3878591
conservative |   1.192233   .2520599     4.73   0.000     .6982046    1.686261
 collegegrad |  -.3245767   .2174367    -1.49   0.136    -.7507449    .1015914
      richer |  -.4195165   .2425293    -1.73   0.084    -.8948652    .0558322
       _cons |  -.8002838   .3926189    -2.04   0.042    -1.569803   -.0307649
------------------------------------------------------------------------------

. margins, dydx(*)

Average marginal effects                        Number of obs     =        215
Model VCE    : Robust

Expression   : Pr(p5D), predict()
dy/dx w.r.t. : ideareal SDO gender over35 conservative collegegrad richer

------------------------------------------------------------------------------
             |            Delta-method
             |      dy/dx   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
    ideareal |   .0217629   .0047096     4.62   0.000     .0125322    .0309936
         SDO |   .0011584   .0015482     0.75   0.454    -.0018761    .0041929
      gender |   .0779501   .0507995     1.53   0.125    -.0216151    .1775153
      over35 |  -.0081863   .0500257    -0.16   0.870     -.106235    .0898623
conservative |   .2766117   .0509625     5.43   0.000     .1767271    .3764963
 collegegrad |  -.0753055   .0500182    -1.51   0.132    -.1733394    .0227284
      richer |  -.0973326    .056234    -1.73   0.083    -.2075492     .012884
------------------------------------------------------------------------------

. outreg2 using Table9, append label alpha(0.001, 0.01, 0.05) excel bdec(3) sdec(3) e(ll chi2 p r2_p)
Table9.xml
dir : seeout

. 
. *************************************************
. * end of file
. log close
      name:  <unnamed>
       log:  /Users/dr967231/Dropbox/laptop My Documents/data/data14/SDOexp/SDOrealismSubmission.log
  log type:  text
 closed on:  10 Feb 2019, 10:51:13
------------------------------------------------------------------------------------------------------
